﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="DistrictView.aspx.cs"
  Inherits="DistrictView " %>

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
  Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.5.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dxp" %>
<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.5.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dxrp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title>
    <asp:Repeater id="Repeater1" runat="server" datasourceid="LDSCity">
              <ItemTemplate><%#Eval("Name")%></ItemTemplate>
            </asp:Repeater>
  </title>
  <link href="../../css/StyleSheet.css" rel="stylesheet" type="text/css" />
  <link rel="Stylesheet" type="text/css" href="../../style/default/common.css" />
  <link rel="Stylesheet" type="text/css" href="../../style/default/panel/panel.css" />
  <meta http-equiv="Cache-Control" content="no-cache" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="0" />
</head>
<body style="margin: 0; padding: 0;">
  <form id="form1" runat="server">
  <asp:LinqDataSource ID="LDSRegion" runat="server" ContextTypeName="HF.BizWinner.DB.Linq.BizWinnerDataContext"
    TableName="Region" AutoGenerateWhereClause="True">
    <WhereParameters>
      <asp:QueryStringParameter Name="R_Id" QueryStringField="R_ID" />
    </WhereParameters>
  </asp:LinqDataSource>
  <asp:LinqDataSource ID="LDSProvince" runat="server" AutoGenerateWhereClause="True"
    ContextTypeName="HF.BizWinner.DB.Linq.BizWinnerDataContext" TableName="Province">
    <WhereParameters>
      <asp:QueryStringParameter Name="P_Id" QueryStringField="P_ID" />
    </WhereParameters>
  </asp:LinqDataSource>
  <asp:LinqDataSource ID="LDSCity" runat="server" AutoGenerateWhereClause="True" ContextTypeName="HF.BizWinner.DB.Linq.BizWinnerDataContext"
    TableName="City">
    <WhereParameters>
      <asp:QueryStringParameter Name="C_Id" QueryStringField="C_ID" />
    </WhereParameters>
  </asp:LinqDataSource>
  <asp:LinqDataSource ID="LDSDistrict" runat="server" AutoGenerateWhereClause="True" ContextTypeName="HF.BizWinner.DB.Linq.BizWinnerDataContext"
    TableName="District">
    <WhereParameters>
      <asp:QueryStringParameter Name="D_Id" QueryStringField="D_ID" />
    </WhereParameters>
  </asp:LinqDataSource>
  <asp:LinqDataSource ID="LDSStreet" runat="server" AutoGenerateWhereClause="true" ContextTypeName="HF.BizWinner.DB.Linq.BizWinnerDataContext"
    TableName="Street">
    <WhereParameters>
      <asp:QueryStringParameter Name="D_Id" QueryStringField="D_ID" />
    </WhereParameters>
  </asp:LinqDataSource>
  <dxrp:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="100%" HeaderText="区域选择"
    SkinID="RPPink">
    <PanelCollection>
      <dxp:PanelContent runat="server">
        <h3 style="text-align: left; font-size: 12px; font-weight: normal; margin: 0px; padding: 3px 0px 3px 0px; line-height:1.8">
          <a href="../../Quanguo.aspx" onclick="window.parent.MapAppFrame.showQuanguo()">全国</a> ->
          <asp:Repeater ID="Repeater2" runat="server" DataSourceID="LDSRegion">
            <ItemTemplate>
              <a onclick="window.parent.MapAppFrame.moveToCenterByLevel(1, '', '<%#Eval("R_ID")%>')"
                 href="../region/RegionView.aspx?R_ID=<%#Eval("R_ID")%>">
                <%#Eval("Name")%></a></ItemTemplate>
          </asp:Repeater>
          ->
          <asp:Repeater ID="Repeater3" runat="server" DataSourceID="LDSProvince">
            <ItemTemplate>
              <a onclick="window.parent.MapAppFrame.moveToCenterByLevel(2, '', '<%#Eval("R_ID")%>','<%#Eval("P_ID")%>')"
                 href="../province/ProvinceView.aspx?R_ID=<%#Eval("R_ID")%>&P_ID=<%=Request["P_ID"]%>">
                <%#Eval("Name")%></a></ItemTemplate>
          </asp:Repeater>
          ->
          <asp:Repeater ID="Repeater7" runat="server" DataSourceID="LDSCity">
            <ItemTemplate>
              <a onclick="window.parent.MapAppFrame.moveToCenterByLevel(3, '<%#Eval("MID")%>', '<%=Request["R_ID"]%>','<%#Eval("P_ID")%>','<%#Eval("C_ID")%>')"
                 href="../city/CityView.aspx?R_ID=<%=Request["R_ID"]%>&P_ID=<%#Eval("P_ID")%>&C_ID=<%#Eval("C_ID")%>">
                <%#Eval("Name")%></a></ItemTemplate>
          </asp:Repeater>
          ->
          <asp:Repeater ID="Repeater4" runat="server" DataSourceID="LDSDistrict">
            <ItemTemplate>
              <%#Eval("Name")%></ItemTemplate>
          </asp:Repeater>
        </h3>
        <ul style="list-style-type: none; margin: 0px; padding: 0px; width: 100%; height: 100%;line-height:1.8">
          <asp:Repeater ID="Repeater5" runat="server" DataSourceID="LDSStreet">
            <ItemTemplate>
              <li style="float: left; width: 30%; text-align: center;">
                <a onclick="window.parent.MapAppFrame.moveToCenterByLevel(5, '<%#Eval("MID")%>', '<%=Request["R_ID"]%>','<%#Eval("P_ID")%>','<%#Eval("C_ID")%>','<%#Eval("D_ID")%>','<%#Eval("S_ID")%>')"
                   href="../street/StreetView.aspx?R_ID=<%=Request["R_ID"]%>&P_ID=<%=Request["P_ID"]%>&C_ID=<%#Eval("C_ID")%>&D_ID=<%#Eval("D_ID")%>&S_ID=<%#Eval("S_ID")%>">
                <%#Eval("Name")%></a></li></ItemTemplate>
          </asp:Repeater>
        </ul>
      </dxp:PanelContent>
    </PanelCollection>
  </dxrp:ASPxRoundPanel>
  <div class="clear" style="height: 10px">
  </div>
  <dxrp:ASPxRoundPanel ID="ASPxRoundPanel2" runat="server" Width="100%" HeaderText="城市简介"
    SkinID="RPPink">
    <PanelCollection>
      <dxp:PanelContent ID="PanelContent1" runat="server">
        <asp:Repeater ID="Repeater6" runat="server" DataSourceID="LDSCity">
          <ItemTemplate>
            <h5 style="text-align: left; padding: 0; margin: 0;line-height:1.8">
              <%#Eval("Name")%></h5>
            <div style="line-height:1.8">
              <%#Eval("Introduction")%>
            </div>
          </ItemTemplate>
        </asp:Repeater>
      </dxp:PanelContent>
    </PanelCollection>
  </dxrp:ASPxRoundPanel>
  <div class="clear" style="height: 10px">
  </div>
  <dxrp:ASPxRoundPanel ID="ASPxRoundPanel3" runat="server" Width="100%" HeaderText="指标"
    SkinID="RPPink">
    <PanelCollection>
      <dxp:PanelContent ID="PanelContent2" runat="server">
        <ul style="list-style-type: none; padding: 0; margin: 0;line-height:1.8">
          <li>
            <input type="radio" name="rd1" onclick="javascript:wayne_addMark();" />总人口</li>
          <li>
            <input type="radio" name="rd1" />总户数</li>
          <li>
            <asp:Repeater ID="Repeater8" runat="server" DataSourceID="LDSCity">
              <ItemTemplate>
                <input type="radio" name="rd1" onclick="window.parent.MapAppFrame.showInfomation(5, '<%#Eval("MID")%>', '<%=Request["R_ID"]%>','<%=Request["P_ID"]%>','<%#Eval("C_ID")%>','<%=Request["D_ID"]%>','')"/>分辖区总人口
              </ItemTemplate>
            </asp:Repeater>
            </li>
          <li>
            <asp:Repeater ID="Repeater9" runat="server" DataSourceID="LDSCity">
              <ItemTemplate>
                <input type="radio" name="rd1" onclick="window.parent.MapAppFrame.showInfomation2(5, '<%#Eval("MID")%>', '<%=Request["R_ID"]%>','<%=Request["P_ID"]%>','<%#Eval("C_ID")%>','<%=Request["D_ID"]%>','')"/>分辖区总户数
              </ItemTemplate>
            </asp:Repeater>
            </li>
        </ul>
      </dxp:PanelContent>
    </PanelCollection>
  </dxrp:ASPxRoundPanel>
  </form>
</body>
</html>
